// 项目主体

// LayOut
.layout {
  height: 100%;
  display: flex;
  background: #f6f6f9;

  // SideBar
  .sidebar {
    width: 180px;
    height: 100%;
    background-color: #fff;
    // box-shadow: 5px 0px 14px 0px rgba(0, 0, 0, 0.04);
    border-right: 1px solid $lightBorder;
    flex-shrink: 0;
    // padding: 10px 5px;

    .el-menu {
      border: none;
    }
  }

  .main {
    flex: 1;
    width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    // NavBar
    .nav-bar {
      background-color: #fff;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      color: $primaryText;
      box-shadow: 5px 0px 14px 0px rgba(0, 0, 0, 0.04);

      // 面包屑
      .breadcrumb {
        padding: 10px 0;

        .crumb-name {
          font-weight: bold;
          cursor: pointer;

          &:hover {
            color: $blue;
          }
        }
      }
      // 导航操作列
      .navbar-action {
        height: 100%;
        display: flex;
        align-items: center;

        .nav-action-item {
          min-width: 40px;
          height: 100%;
          color: $primaryText;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;

          &:hover {
            background: rgb(0 0 0 / 10%);
          }

          .action-item {
            padding: 10px;
            display: flex;
          }
        }
      }
    }

    // 编辑区域
    .container {
      flex: 1;
      height: 0;
      overflow: auto;
      padding: 10px;
    }
  }
}

.notice-con {
  width: 400px;
  padding: 10px;
}
